Skip to content

feat(graph): react to lifecycle edge state changes#1029

Merged
wbugitlab1 merged 3 commits into
mainfrom
issue/312-graph-auto-stale-edges
Jun 20, 2026
Merged

feat(graph): react to lifecycle edge state changes#1029
wbugitlab1 merged 3 commits into
mainfrom
issue/312-graph-auto-stale-edges

Conversation

@wbugitlab1

Copy link
Copy Markdown
Owner

Closes #312.

Summary

  • add graph edge reaction handling for supersedes, contradicts, and extends
  • stale target memories when active lifecycle edges apply, and restore reaction-owned changes when edges are removed, inactive, or negated
  • register the state trigger and cover ambiguous graph-node targets, lifecycle cycles, and extend restoration behavior

Verification

  • corepack pnpm exec vitest run --exclude test/integration.test.ts test/events-boundary.test.ts test/graph.test.ts test/graph-edge-reactions.test.ts
  • corepack pnpm run lint
  • corepack pnpm run build
  • corepack pnpm test
  • corepack pnpm exec vitest run --exclude test/integration.test.ts --no-file-parallelism --maxWorkers=1
  • semgrep scan --config p/default --error --metrics=off .
  • gitleaks protect --staged --redact
  • gitleaks detect --source . --redact --no-git

Note: full-history gitleaks detect --source . --redact reports 14 pre-existing historical findings; current-tree and staged scans are clean.

@wbugitlab1 wbugitlab1 merged commit f497290 into main Jun 20, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(graph): state trigger auto-stales targets on supersedes/contradicts/extends edges

1 participant